﻿using System;

namespace Mnk.Merger.Code.Commands
{
    class MergeSpyInfo : IComparable<MergeSpyInfo>
    {
        public string Id { get; private set; }
        public string Path { get; private set; }

        public MergeSpyInfo(string id, string path)
        {
            Id = id;
            Path = path;
        }

        public int CompareTo(MergeSpyInfo other)
        {
            if (other == null) return -1;
            return string.Compare(Path, other.Path);
        }
    }
}
